IS-IS DIS选举示例

组网需求

  1. 广播网中有4台路由器通过IS-IS路由协议实现互联
  2. Router A和Router B 是Level-1-2路由器 Router C是Level-1路由器,Router D是Level-2路由器
  3. 要求将Router A配置为Level-2的DIS路由器

配置思路

  1. 基本配置以及IP地址
  2. 配置IS-IS协议
  3. 配置接口使能IS-IS协议
  4. 配置Router A为Level-2 的DIS路由器

配置

  1. 基本配置以及IP地址

    • Router A配置

      1
      2
      3
      4
      sys
      sys Router A-L1-L2
      int g0/0/0
      ip add 10.1.1.1 29
  • Router B配置

    1
    2
    3
    4
    sys
    sys Router B-L1-L2
    int g0/0/0
    ip add 10.1.1.2 29
  • Router C配置

    1
    2
    3
    4
    sys
    sys Router C-L1
    int g0/0/0
    ip add 10.1.1.3 29
  • Router D配置

    1
    2
    3
    4
    sys
    sys Router D-L2
    int g0/0/0
    ip add 10.1.1.4 29
  1. 配置IS-IS协议

    • Router A配置

      1
      2
      3
      4
      sys
      isis 1
      is-level level-1-2
      network-entity 10.0100.0100.1001.00
  • Router B配置

    1
    2
    3
    4
    sys
    isis 1
    is-level level-1-2
    network-entity 10.0100.0100.1002.00
  • Router C配置

    1
    2
    3
    4
    sys
    isis 1
    is-level level-1
    network-entity 10.0100.0100.1003.00
  • Router D配置

    1
    2
    3
    4
    sys
    isis 1
    is-level level-2
    network-entity 10.0100.0100.1004.00
  1. 接口使能IS-IS协议

    • Router A配置

      1
      2
      3
      4
      sys
      int g0/0/0
      isis enable 1
      isis small-hello
  • Router B配置

    1
    2
    3
    4
    sys
    int g0/0/0
    isis enable 1
    isis small-hello
  • Router C配置

    1
    2
    3
    4
    sys
    int g0/0/0
    isis enable 1
    isis small-hello
  • Router D配置

    1
    2
    3
    4
    sys
    int g0/0/0
    isis enable 1
    isis small-hello
  1. 配置Router A为Level-2的DIS路由器

    1
    2
    3
    sys
    int g0/0/0
    isis dr-priority 100 #默认为64
  1. 查看命令

    • 查看接口MAC地址

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      dis arp int g0/0/0

      IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE
      VLAN/CEVLAN PVC
      ------------------------------------------------------------------------------
      10.1.1.1 00e0-fc4f-6a14 I - GE0/0/0
      10.1.1.2 00e0-fc06-0c0e 19 D-0 GE0/0/0
      10.1.1.3 00e0-fcfb-771a 16 D-0 GE0/0/0
      10.1.1.4 00e0-fc65-6ac3 19 D-0 GE0/0/0
      ------------------------------------------------------------------------------
      Total:4 Dynamic:3 Static:0 Interface:1
  • 查看IS-IS邻居信息(可以知道邻居的优先级)

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    dis isis peer

    Peer information for ISIS(1)

    System Id Interface Circuit Id State HoldTime Type PRI
    -------------------------------------------------------------------------------
    0100.0100.1002 GE0/0/0 0100.0100.1001.01 Up 21s L1(L1L2) 64
    0100.0100.1003 GE0/0/0 0100.0100.1001.01 Up 27s L1 64
    0100.0100.1002 GE0/0/0 0100.0100.1001.01 Up 30s L2(L1L2) 64
    0100.0100.1004 GE0/0/0 0100.0100.1001.01 Up 29s L2 64

    Total Peer(s): 4
  • 查看IS-IS接口信息

    1
    2
    3
    4
    5
    6
    dis isis interface

    Interface information for ISIS(1)
    ---------------------------------
    Interface Id IPV4.State IPV6.State MTU Type DIS
    GE0/0/0 001 Up Down 1497 L1/L2 Yes/Yes
吴超 wechat
subscribe to my blog by scanning my public wechat account